package com.ruoyi.web.message.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 范书铭
 * @date 2024年10月11日 16:16
 */
@Data
public class UserMessageDto extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    /** 发送人姓名 */
    @ApiModelProperty(name = "发送人姓名", notes = "")
    @Excel(name = "发送人姓名")
    private String sendFromUserName;

    /** 消息内容 */
    @ApiModelProperty(name = "消息内容", notes = "")
    private String messageContent;

    /** 消息类型 */
    @ApiModelProperty(name = "消息类型", notes = "")
    private Long messageType;

    /** 消息关联数据ID */
    private Long contactDataId;

    /** 是否已读 */
    @ApiModelProperty(name = "是否已读", notes = "")
    private Boolean isRead;
}
